﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Chung/QLSV.Master" AutoEventWireup="true" CodeBehind="SuaLop.aspx.cs" Inherits="proRFID_DiemDanh.Lop.SuaLop" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentMain" runat="server">
<div style="text-align:center; width:100%" >
    <fieldset style="width:400px">
        <legend>Cập nhật lớp học</legend>
        <table align="center">
            <tr>
                <td style="width:90px">Khoa</td>
                <td>
                    <asp:DropDownList ID="ddl_khoa" runat="server" Width="205px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>Tên Lớp</td>
                <td>
                    <asp:TextBox ID="txt_tenlop" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txt_tenlop" 
                    CssClass="Thongbao" Display="Dynamic" style="font-size:20px;"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Vui lòng chọn Khoa." 
                    CssClass="Thongbao" Display="Dynamic"
                        ControlToValidate="ddl_khoa" InitialValue="0"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: right; ">
                    <asp:ImageButton ID="cmdLuu" runat="server" ImageUrl="~/Chung/img/save.png" CssClass="nutnhan"  onclick="cmd_sua_Click"/>
                    <a href="/Lop/Lop.aspx">
                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Chung/img/cancel.png" CssClass="nutnhan"/>
                    </a>
                </td>
            </tr>
        </table>
    </fieldset>
</div>
</asp:Content>
